import type { AppRouteModule } from '/@/router/types';
import { t } from '/@/hooks/web/useI18n';
import { LAYOUT } from '/@/router/constant';
const netdisk: AppRouteModule = {
  path: '/netdisk',
  name: 'netdisk',
  component: LAYOUT,
  redirect: '/netdisk/file',
  meta: {
    orderNo: 2000,
    icon: 'ion:settings-outline',
    title: t('routes.demo.netdisk.moduleName'),
  },

  children: [
    {
      path: 'uploadFile',
      name: 'uploadFileManagement',
      meta: {
        title: t('routes.demo.netdisk.uploadFile'),
        ignoreKeepAlive: false,
      },
      component: () => import('/@/views/demo/netdisk/uploadFile/index.vue'),
    },
    {
      path: 'fileFolder',
      name: 'fileFolderManagement',
      meta: {
        title: t('routes.demo.netdisk.fileFolder'),
        ignoreKeepAlive: true,
      },
      component: () => import('/@/views/demo/netdisk/fileFolder/index.vue'),
    },
    {
      path: 'fileStorage',
      name: 'fileStorageManagement',
      meta: {
        title: t('routes.demo.netdisk.fileStorage'),
        ignoreKeepAlive: true,
      },
      component: () => import('/@/views/demo/netdisk/fileStorage/index.vue'),
    },
    {
      path: 'publicStorage',
      name: 'publicStorageManagement',
      meta: {
        title: t('routes.demo.netdisk.publicStorage'),
        ignoreKeepAlive: true,
      },
      component: () => import('/@/views/demo/netdisk/publicStorage/index.vue'),
    },
    // {
    //   path: 'netdiskService',
    //   name: 'netdiskServiceManager',
    //   meta: {
    //     title: t('routes.demo.netdisk.netdiskService'),
    //     ignoreKeepAlive: true,
    //   },
    //   component: () => import('/@/views/demo/netdisk/netdiskService/index.vue'),
    // }, 

  ],
};

export default netdisk;
